<?php
 $this->dojo()->enable();
echo $this->message;
$c = $this->url(array('module'=>'community', 'controller'=>'index', 'action'=>'index'));
$s = $this->url(array('module'=>'student', 'controller'=>'index', 'action'=>'index'));
$r = $this->url(array('module'=>'account', 'controller'=>'index', 'action'=>'myratings'));
$ed = $this->url(array('module'=>'account', 'controller'=>'users', 'action'=>'viewprofile', 'id'=>$this->id));

$comm = "<a href = $c>Rate and view ratings from previous courses</a>";
$stud = "<a href = $s>Track your current class performances";
$rats = "<a href = $r>Class I've Rated</a>";
$edit = "<a href= $ed>View Your Account Profile";
$allOptions = $comm . "<br>" . $stud .  "<br>" . $rats . "<br>" .$edit;
?>
<p></p>
<div id ="holdings"></div>

    <script type="text/javascript">
        dojo.require("dijit.TitlePane");

        dojo.addOnLoad(function() {
            tp = new dijit.TitlePane({
                title: "Account Options",
                content: "<?php echo $allOptions;?>",
                open: false
            });
 	  dojo.byId("holdings").appendChild(tp.domNode);   

        }); 
	</script>
